package com.taochaplan;

import com.vividsolutions.jts.geom.Coordinate;

import java.util.Arrays;

/**
 * 路段
 *
 * @author wbsheng
 * @create 2018-05-27 15:21
 **/
public class NetWork {
    /**
     * 路段id
     */
    private String network_id;
    /**
     * 可通过路线
     */
    private String route_nos;
    /**
     * 路段长度
     */
    private String length;


    private  Coordinate[] coordinates;

    /**
     * 转换后坐标
     */
    private String points_json;
    /**
     * 更新时间yyyyMMdd
     */
    private String modified_date;
    /**
     * 分区信息yyyyMM
     */
    //private String month;

    public String getNetwork_id() {
        return network_id;
    }

    public void setNetwork_id(String network_id) {
        this.network_id = network_id;
    }

    public String getRoute_nos() {
        return route_nos;
    }

    public void setRoute_nos(String route_nos) {
        this.route_nos = route_nos;
    }

    public String getLength() {
        return length;
    }

    public void setLength(String length) {
        this.length = length;
    }


    public String getPoints_json() {
        return points_json;
    }

    public void setPoints_json(String points_json) {
        this.points_json = points_json;
    }

    public String getModified_date() {
        return modified_date;
    }

    public void setModified_date(String modified_date) {
        this.modified_date = modified_date;
    }

    public Coordinate[] getCoordinates() {
        return coordinates;
    }

    public void setCoordinates(Coordinate[] coordinates) {
        this.coordinates = coordinates;
    }

    @Override
    public String toString() {
        return "NetWork{" +
                "network_id='" + network_id + '\'' +
                ", route_nos='" + route_nos + '\'' +
                ", length='" + length + '\'' +
                ", coordinates=" + Arrays.toString(coordinates) +
                ", points_json='" + points_json + '\'' +
                ", modified_date='" + modified_date + '\'' +
                '}';
    }
}
